-
Notifications
You must be signed in to change notification settings - Fork 868
fix: allow missing types of rule bypasses #2726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
+101
−13
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Leave it to the API to determine if the values for actor_types are valid of not. These change over time and we would need to carry a list in code to verify this. Do not require an actor_id on rule bypasses. Things like DeployKey do not have an id. Signed-off-by: Johannes Wienke <[email protected]>
3e59908
to
08f50d6
Compare
2 tasks
dsdeboer
approved these changes
Aug 15, 2025
Great work! I'd love it when we can finally add deploy keys too! |
4 tasks
closes #2748 |
Could we get this merged? Maybe @nickfloyd could help or knows someone who could? |
nickfloyd
approved these changes
Oct 21, 2025
@nickfloyd any idea when we might see a release containing this fix? |
Loved to see it merged 🚀 when can I use it with a new release? 😄 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR attempts to resolve an issue where the provider is not able to create bypass rules that don't use the explicit values set in this provider. The provider itself is out of date. There is no need for the provider to do the check as the API and helps will do the checks for us.
I've taken the liberty to update #2588 with the pending suggestions.
Resolves #2254
Resolves #2588
Before the change?
Users would not be able to make a bypass rule that uses something like a DeployKey
After the change?
Users can make any bypass rule that is accepted by the API
Pull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!